package com.moxiao.yfjh.module.activity.convert.merchantInfo;

import java.util.*;

import com.moxiao.yfjh.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.moxiao.yfjh.module.activity.controller.admin.merchantInfo.vo.*;
import com.moxiao.yfjh.module.activity.dal.dataobject.merchantInfo.MerchantInfoDO;

/**
 * 相亲商家信息 Convert
 *
 * @author mx
 */
@Mapper
public interface MerchantInfoConvert {

    MerchantInfoConvert INSTANCE = Mappers.getMapper(MerchantInfoConvert.class);

    MerchantInfoDO convert(MerchantInfoCreateReqVO bean);

    MerchantInfoDO convert(MerchantInfoUpdateReqVO bean);

    MerchantInfoRespVO convert(MerchantInfoDO bean);

    List<MerchantInfoRespVO> convertList(List<MerchantInfoDO> list);

    PageResult<MerchantInfoRespVO> convertPage(PageResult<MerchantInfoDO> page);

    List<MerchantInfoExcelVO> convertList02(List<MerchantInfoDO> list);

}
